//
//  ASSession+Profile.h
//  AppleAuth
//
//  Created by 吴双 on 2023/1/23.
//

#import "ASSession.h"

@class ALTAppID, ALTProvisioningProfile;

@interface ASTeamSession (Profile)

- (void)fetchProvisioningProfileForAppID:(ALTAppID * _Nonnull)appID
                       completionHandler:(void (^ _Nonnull)(ALTProvisioningProfile * _Nullable provisioningProfile, NSError * _Nullable error))completionHandler;

- (void)deleteProvisioningProfile:(ALTProvisioningProfile * _Nonnull)provisioningProfile
                completionHandler:(void (^_Nonnull)(BOOL success, NSError *_Nullable error))completionHandler;

- (void)generateProvisionProfileForAppID:(ALTAppID * _Nonnull)appID
                       completionHandler:(void (^ _Nonnull)(ALTProvisioningProfile * _Nullable provisioningProfile, NSError * _Nullable error))completionHandler;

@end
